package com.iias.common.util.seq;

/**
 * 序列
 */
public class SeqUtils {

    private static Integer SEQ_ID = 0;


    public static synchronized Integer getSeq(){
        if (SEQ_ID == Integer.MAX_VALUE){
            SEQ_ID = 1;
        }
        return ++SEQ_ID;
    }
}
